package com.scnu.recruitment.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum PayStatus {
    UNPAYED(0, "unpayed","未支付"),
    ACCEPTED(1,"accepted","同意"),
    REJECTED(2,"rejected","拒绝"),
    INVALID(10,"invalid","失效"),
    ;
    @EnumValue
    final Integer value;
    @JsonValue
    final String jsonValue;
    final String desc;


}